Getting Array to display on SELECT

Getting Array to display on SELECT

am 21.04.2010 00:16:52 von gary

I'm frankly not sure if this is a MySQL question or PHP, but I thought I
would start here.

I have a form that I have a (ever growing) list of checkboxes, Here is a
sample of the code for it.



It seems to go in, when I say seems to, I get a result of Array in the
table, the code is listed below. I have tried various solutions I found in
searching the issue, but have only been able to so far get Array.

echo '

';
while ($row = mysqli_fetch_array($data)) {

echo '';
echo '';
echo '';
echo '';
echo '';
echo '';
if (is_file($row['image_file'])) {
echo '';
}

As a bonus question, does anyone have any idea why the image would show up
in IE9, and not FF?

Thanks for your help.

Gary


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5045 (20100420) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org

RE: Getting Array to display on SELECT

am 21.04.2010 01:27:53 von Gavin Towey

This is a PHP question.

-----Original Message-----
From: Gary [mailto:gwp@paulgdesigns.com]
Sent: Tuesday, April 20, 2010 3:17 PM
To: mysql@lists.mysql.com
Subject: Getting Array to display on SELECT

I'm frankly not sure if this is a MySQL question or PHP, but I thought I
would start here.

I have a form that I have a (ever growing) list of checkboxes, Here is a
sample of the code for it.



It seems to go in, when I say seems to, I get a result of Array in the
table, the code is listed below. I have tried various solutions I found in
searching the issue, but have only been able to so far get Array.

echo '

Id NumberDate
Entered
CaptionWhere
Taken
KeywordsDescriptionImage
' . $row['image_id']. '' . $row['submitted']. '' . $row['caption']. '' . $row['where_taken'] . '' . $row['keyword']. '' . $row['description'] . ' height="100px"/>
';
while ($row =3D mysqli_fetch_array($data)) {

echo '';
echo '';
echo '';
echo '';
echo '';
echo '';
if (is_file($row['image_file'])) {
echo '';
}

As a bonus question, does anyone have any idea why the image would show up
in IE9, and not FF?

Thanks for your help.

Gary


__________ Information from ESET NOD32 Antivirus, version of virus signatur=
e database 5045 (20100420) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgtowey@ffn.com


This message contains confidential information and is intended only for the=
individual named. If you are not the named addressee, you are notified th=
at reviewing, disseminating, disclosing, copying or distributing this e-mai=
l is strictly prohibited. Please notify the sender immediately by e-mail i=
f you have received this e-mail by mistake and delete this e-mail from your=
system. E-mail transmission cannot be guaranteed to be secure or error-fre=
e as information could be intercepted, corrupted, lost, destroyed, arrive l=
ate or incomplete, or contain viruses. The sender therefore does not accept=
liability for any loss or damage caused by viruses or errors or omissions =
in the contents of this message, which arise as a result of e-mail transmis=
sion. [FriendFinder Networks, Inc., 220 Humbolt court, Sunnyvale, CA 94089,=
USA, FriendFinder.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

RE: Getting Array to display on SELECT

am 21.04.2010 04:30:46 von Martin Gainty

--_9dabe66b-1dd8-4f30-bd33-148ce9f7b7fa_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


RGB encoding?

sorry..thats for graphic designers

Martin Gainty=20
______________________________________________=20
Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit=
=E9
=20
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng=
er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter=
leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l=
ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin=
dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w=
ir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes=
pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat=
isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e=
ou la copie de ceci est interdite. Ce message sert =E0 l'information seule=
ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d=
onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation=
=2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni=
..




> To: mysql@lists.mysql.com
> From: gwp@paulgdesigns.com
> Subject: Getting Array to display on SELECT
> Date: Tue=2C 20 Apr 2010 18:16:52 -0400
>=20
> I'm frankly not sure if this is a MySQL question or PHP=2C but I thought =
I=20
> would start here.
>=20
> I have a form that I have a (ever growing) list of checkboxes=2C Here is=
a=20
> sample of the code for it.
>=20
>
>=20
> It seems to go in=2C when I say seems to=2C I get a result of Array in th=
e=20
> table=2C the code is listed below. I have tried various solutions I foun=
d in=20
> searching the issue=2C but have only been able to so far get Array.
>=20
> echo '

Id NumberDate
Entered
CaptionWhere
Taken
KeywordsDescriptionImage
' . $row['image_id']. '' . $row['submitted']. '' . $row['caption']. '' . $row['where_taken'] . '' . $row['keyword']. '' . $row['description'] . ' height=3D"100px"/>
'=3B
> while ($row =3D mysqli_fetch_array($data)) {
>=20
> echo ''=3B
> echo ''=3B
> echo ''=3B
> echo ''=3B
> echo ''=3B
> echo ''=3B
> if (is_file($row['image_file'])) {
> echo ''=3B
> }
>=20
> As a bonus question=2C does anyone have any idea why the image would show=
up=20
> in IE9=2C and not FF?
>=20
> Thanks for your help.
>=20
> Gary=20
>=20
>=20
> __________ Information from ESET NOD32 Antivirus=2C version of virus sign=
ature database 5045 (20100420) __________
>=20
> The message was checked by ESET NOD32 Antivirus.
>=20
> http://www.eset.com
>=20
>=20
>=20
>=20
> --=20
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dmgainty@hotmail.c=
om
>=20
=20
____________________________________________________________ _____
The New Busy is not the too busy. Combine all your e-mail accounts with Hot=
mail.
http://www.windowslive.com/campaign/thenewbusy?tile=3Dmultia ccount&ocid=3DP=
ID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4=

--_9dabe66b-1dd8-4f30-bd33-148ce9f7b7fa_--

Id NumberDate=20
> Entered
CaptionWhere=20
> Taken
KeywordsDescriptionImage
' . $row['image_id']. '' . $row['submitted']. '' . $row['caption']. '' . $row['where_taken'] . '' . $row['keyword']. '' . $row['description'] . ' > height=3D"100px"/>